<template>
  <div>
      <button @click="open()">点我</button>
  </div>
</template>

<script>
import Message from '../components/Message/Message'
export default {
components:{
  Message,
},
methods:{
  open(){
   this.$Message({
     message:'这是一条爱心的提示',
     type:'babi',
   }) 
  }
}
}
</script>

<style>

</style>